;
(function () {
  'use strict';
  angular.module('controllers.analysisSysOM.tradTime')
    .controller('maxTradTimeController', maxTradTimeController);

  function maxTradTimeController($scope, maxTradTimeService,COREDATA,$mdDialog) {
    $scope.maxTradTime = maxTradTimeService;
    $scope.exportUrl = COREDATA.FORMPREFIX + 'analysisSysOM/sysPerformance/tradTime/exportMaxTradTime';
    maxTradTimeService.initSelectMenu();
    $scope.$on('$destroy', function () {
      maxTradTimeService.reset();
      $mdDialog.hide();
    });
  }

  maxTradTimeController.$inject = ['$scope', 'maxTradTimeService','COREDATA','$mdDialog'];
})();